home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / bc_ti.zip / TI814.ASC < prev    next >
Text File  |  1992-02-25  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   PRODUCT  :  Turbo C++, Borland C++                 NUMBER  :  814
  9.   VERSION  :  All
  10.        OS  :  DOS
  11.      DATE  :  February 25, 1992                        PAGE  :  1/1
  12.  
  13.     TITLE  :  Using the Evaluate Dialog Box in the IDE
  14.  
  15.  
  16.  
  17.  
  18.   The IDE debugger's Evaluate/Modify dialog box can do a great deal
  19.   more than simply show the value of a variable; it can evaluate
  20.   any expression that is valid in a C/C++ program (with a few
  21.   exceptions).
  22.  
  23.   This includes complicated expressions as well as simply serving
  24.   as a handy programmer's calculator.  For example, if you want a
  25.   quick conversion of hex to decimal or vice versa, and you have
  26.   set Options | Display Options | Integer Format to 'both', you can
  27.   simply type in the number you wish to convert and 'Evaluate' it.
  28.   Or suppose that at particular point in your program, a variable
  29.   does not have the value it should, but you want to continue with
  30.   the correct value -- simply change it and go on, making a note of
  31.   whatever problem caused the original inconsistency so you can
  32.   correct things later.
  33.  
  34.   The Evaluate/Modify dialog box has limitations that should be
  35.   observed as well. It cannot execute functions although the
  36.   stand-alone debugger available with the "Turbo Debugger and
  37.   Tools" product can.  Neither can it change the value of an entire
  38.   structure or class at once, although individual data members can
  39.   be changed.  Be careful when changing memory locations since the
  40.   debugger has no way of knowing a safe memory location from a
  41.   dangerous one.  And, as mentioned above, pre- processor symbols
  42.   are unknown to the debugger, and thus are not available for use
  43.   by the evaluation dialog box.
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.